package com.atguigu.servicebase.exceptionhandler;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

@Data
@AllArgsConstructor  //生成有参数的构造函数
@NoArgsConstructor     //生成无参数的构造函数
public class GuliException extends RuntimeException{

    private Integer code;//状态码

    private String mag;//提示信息




}
